package com.saer.client.combobox.diagnostico;

import java.util.LinkedHashMap;

import com.smartgwt.client.widgets.form.fields.SelectItem;

public class CentroMedico extends SelectItem {

	public CentroMedico() {
		this.setTitle("Centro Medico");
		this.setWrapTitle(false);
		this.cargarCaps();
	}

	public void cargarCaps() {
		LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
		valueMap.put("1", "CAP Rojas");
		valueMap.put("2", "CAP Gral. Belgrano");
		this.setValueMap(valueMap);
		this.setValue("1");
	}

	public void cargarHospitales() {
		LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
		valueMap.put("1", "Hospital Rojas");
		this.setValueMap(valueMap);
		this.setValue("1");
	}

}
